<?php
/**
 */
class Message_intensityTable extends Doctrine_Table
{
	public function getColors($color_id)
	{

			    //	echo $username." ".$password;exit;
	        $query=new Doctrine_Query();
		    $query->select('m.message_intensity as intensity,m.desc as desc')
		       ->from('MessageIntensity m')
			   ->where("m.id='".$color_id."'")
			      echo $query;exit;
			   	$result = $query->execute();
				return $result[0];
	}
}